package com.woniu;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 *
 * 消息启动类
 */
@SpringBootApplication
@EnableSwagger2
@MapperScan(basePackages = {"com.woniu.config","com.woniu.mapper"})
@EnableFeignClients(basePackages = "com.woniu.client")
//@ServletComponentScan
public class MessageStart
{
    public static void main( String[] args )
    {
        SpringApplication.run(MessageStart.class,args);
    }
}
